package com.chaos.system.service.tencent;

import com.chaos.system.api.enums.SmsType;
import org.apache.commons.compress.utils.Lists;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class SmsBizService {
    public ArrayList<String> getParamsByType(SmsType smsType) {
        return Lists.newArrayList();
    }

    public String generateCaptcha() {
        int randomNum = (int) (Math.random() * 1000000);
        return String.format("%06d", randomNum);
    }
}
